home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3mpcurv.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.8 KB  |  136 lines

  1.  
  2. // JavaScript wrapper for r3mpcurv.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_MPCURVE_H = 1;
  7. include("real/code/r3matprp.js")
  8.  
  9.  
  10. var R3CLID_MPCURVE = 375;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3MPCURVA_Curve = 375500;
  19. function GetR3MPCURVA_Curve() {
  20.   return R3ToJS(R3Get(this.r3obj, R3MPCURVA_Curve, R3TID_OBJECT, 0)); 
  21. }
  22.  
  23. var R3MPCURVA_CurveCount = 375501; // Integer
  24. R3MPCURVA_Points0 = 375502;
  25. function SetR3MPCURVA_Points0(value) {
  26.   R3Set(this.r3obj, R3MPCURVA_Points0, value, R3TID_FLOAT, R3TNF_ARRAY); 
  27. }
  28.  
  29. function GetR3MPCURVA_Points0() {
  30.   return R3Get(this.r3obj, R3MPCURVA_Points0, R3TID_FLOAT, R3TNF_ARRAY); 
  31. }
  32.  
  33. R3MPCURVA_Points1 = 375503;
  34. function SetR3MPCURVA_Points1(value) {
  35.   R3Set(this.r3obj, R3MPCURVA_Points1, value, R3TID_FLOAT, R3TNF_ARRAY); 
  36. }
  37.  
  38. function GetR3MPCURVA_Points1() {
  39.   return R3Get(this.r3obj, R3MPCURVA_Points1, R3TID_FLOAT, R3TNF_ARRAY); 
  40. }
  41.  
  42. R3MPCURVA_Points2 = 375504;
  43. function SetR3MPCURVA_Points2(value) {
  44.   R3Set(this.r3obj, R3MPCURVA_Points2, value, R3TID_FLOAT, R3TNF_ARRAY); 
  45. }
  46.  
  47. function GetR3MPCURVA_Points2() {
  48.   return R3Get(this.r3obj, R3MPCURVA_Points2, R3TID_FLOAT, R3TNF_ARRAY); 
  49. }
  50.  
  51. R3MPCURVA_Points3 = 375505;
  52. function SetR3MPCURVA_Points3(value) {
  53.   R3Set(this.r3obj, R3MPCURVA_Points3, value, R3TID_FLOAT, R3TNF_ARRAY); 
  54. }
  55.  
  56. function GetR3MPCURVA_Points3() {
  57.   return R3Get(this.r3obj, R3MPCURVA_Points3, R3TID_FLOAT, R3TNF_ARRAY); 
  58. }
  59.  
  60. R3MPCURVA_PointCount0 = 375506;
  61. function GetR3MPCURVA_PointCount0() {
  62.   return R3Get(this.r3obj, R3MPCURVA_PointCount0, R3TID_INTEGER, 0); 
  63. }
  64.  
  65. R3MPCURVA_PointCount1 = 375507;
  66. function GetR3MPCURVA_PointCount1() {
  67.   return R3Get(this.r3obj, R3MPCURVA_PointCount1, R3TID_INTEGER, 0); 
  68. }
  69.  
  70. R3MPCURVA_PointCount2 = 375508;
  71. function GetR3MPCURVA_PointCount2() {
  72.   return R3Get(this.r3obj, R3MPCURVA_PointCount2, R3TID_INTEGER, 0); 
  73. }
  74.  
  75. R3MPCURVA_PointCount3 = 375509;
  76. function GetR3MPCURVA_PointCount3() {
  77.   return R3Get(this.r3obj, R3MPCURVA_PointCount3, R3TID_INTEGER, 0); 
  78. }
  79.  
  80. R3MPCURVA_PointSize = 375510;
  81. function GetR3MPCURVA_PointSize() {
  82.   return R3Get(this.r3obj, R3MPCURVA_PointSize, R3TID_INTEGER, 0); 
  83. }
  84.  
  85. R3MPCURVA_PointSelection0 = 375511;
  86. function GetR3MPCURVA_PointSelection0() {
  87.   return R3Get(this.r3obj, R3MPCURVA_PointSelection0, R3TID_STRING, 0); 
  88. }
  89.  
  90. R3MPCURVA_PointSelection1 = 375512;
  91. function GetR3MPCURVA_PointSelection1() {
  92.   return R3Get(this.r3obj, R3MPCURVA_PointSelection1, R3TID_STRING, 0); 
  93. }
  94.  
  95. R3MPCURVA_PointSelection2 = 375513;
  96. function GetR3MPCURVA_PointSelection2() {
  97.   return R3Get(this.r3obj, R3MPCURVA_PointSelection2, R3TID_STRING, 0); 
  98. }
  99.  
  100. R3MPCURVA_PointSelection3 = 375514;
  101. function GetR3MPCURVA_PointSelection3() {
  102.   return R3Get(this.r3obj, R3MPCURVA_PointSelection3, R3TID_STRING, 0); 
  103. }
  104.  
  105.  
  106.  
  107. function r3Mpcurve () { 
  108.    this.base = r3God;
  109.    if(arguments.length) {
  110.       this.base(R3CLID_MPCURVE, arguments);
  111.    }
  112.    // Methods
  113.  
  114.    // Attributes
  115.    this.GetCurve=GetR3MPCURVA_Curve;
  116.    this.GetPoints0=GetR3MPCURVA_Points0;
  117.    this.SetPoints0=SetR3MPCURVA_Points0;
  118.    this.GetPoints1=GetR3MPCURVA_Points1;
  119.    this.SetPoints1=SetR3MPCURVA_Points1;
  120.    this.GetPoints2=GetR3MPCURVA_Points2;
  121.    this.SetPoints2=SetR3MPCURVA_Points2;
  122.    this.GetPoints3=GetR3MPCURVA_Points3;
  123.    this.SetPoints3=SetR3MPCURVA_Points3;
  124.    this.GetPointCount0=GetR3MPCURVA_PointCount0;
  125.    this.GetPointCount1=GetR3MPCURVA_PointCount1;
  126.    this.GetPointCount2=GetR3MPCURVA_PointCount2;
  127.    this.GetPointCount3=GetR3MPCURVA_PointCount3;
  128.    this.GetPointSize=GetR3MPCURVA_PointSize;
  129.    this.GetPointSelection0=GetR3MPCURVA_PointSelection0;
  130.    this.GetPointSelection1=GetR3MPCURVA_PointSelection1;
  131.    this.GetPointSelection2=GetR3MPCURVA_PointSelection2;
  132.    this.GetPointSelection3=GetR3MPCURVA_PointSelection3;
  133. }
  134.  
  135. r3Mpcurve.prototype=new r3Matprop;
  136. // r3mpcurv.h_H